add support for protocol (https)