Added alive method to Connection

This method is pretty basic. Normally it would check it can open a
socket to the server. As there is no server (we are mocking it), it
simply returns True.