Moved ConnectFunction into PeerAddress typeclass.