Allow https connections

0.5 updates broke the capability of doing https connections. This brings them back ;)