Clean up transport.py
* Remove several unused functions from transport.py
* Remove an unused parameter in CryptoTransportLayer.join_network and in CryptoTransportLayer.get_crypto_peer
* Remove an unused import