Support SSL for JSON/XML communication

Change-Id: Ic2b44918e9f8df8ff40162e24215bc82cf78d0d3
Signed-off-by: lzelkha@redhat.com <lzelkha@redhat.com>