Set correct scheme if https module is used.

Currently `http-browserify` lets you specify the `scheme` option to switch to https but no nodejs module uses this parameter. It should be used automatically when https module is required.