Drop unused protocol functions.

* Also drop get_profile.
Drop unused CryptoTransportLayer.send_enc.
Drop unused CryptoTransportLayer.create_peer.
Drop unused CryptoTransportLayer.pubkey_exists.
Drop getters for public attributes.