Complete SSL support by using a HTTPSConnection when needed.