Added SSL authentication to client and server.