fix for github:e that supports http protocol only

When using gh:e on http protocol,
url.scheme was updated, but url.class is still URI::HTTPS,
so api try to connect 443 port and fail.