Made connected() in TransportConnection immutable.
Multiple changes in OverlaySocket.