Add a working connection between the client and server, both in ssl and none-ssl