added SSL to proxy connection