How to build a quantum internet