Swiching the client over to use SSL

@ceykooo 

SSL switch over.