Default to https, only use http when ssl=False on connection.