apps: SSL support

Change-Id: Ic121936951d18fe9b9c44312e9e93e53828f3d8c