How to Buy a Network: Trading of Resources in the Physical Layer