fix(ssl): set_hostname on ssl connections

breaking change: api of `NetworkConnector` changed to support passing the hostname.