supporting https for connector