enabled SSL on server and client side