Support SSL

Change-Id: I0c98febc3bdf15b0f92b749fd3b1afd3d0e1edbb