public bool Connect(string hostname, int port, bool useSsl) { var connectResponse = _connection.Connect(hostname, port, useSsl); return(connectResponse.Code == 200 || connectResponse.Code == 201); }