added https connections to server