enabled ssl, added proxy option