Add ssl upgrade support

Signed-off-by: Joern Bernhardt <joern.bernhardt@googlemail.com>