listen() could be called more than once on the transport layer, make sure last context and sockets are terminated before listening on new url
make sure transport .ctx is initialized in the constructor
Merge pull request #537 from OpenBazaar/make-p2p-port-parameter-issue-511

listen() could be called more than once on the transport layer, make sur...