Added a connection detection method (does a checkConnection handshake at the start).