Implements Connection.connected.  Closes #22