Add SSL support to the proxy

Change-Id: I7cb82ceeec961dc181c143795be8f3f25204c74e