Add ssl upgrade support

Signed-off-by: Joern Bernhardt <joern.bernhardt@googlemail.com>
Remove empty parenthesis from isSsl call