Connects to the server.
@override Future connect() { if (_socket != null) throw StateError('Already connected'); return _socket = Socket.connect(host, port); }