Hostname now requires http/https to be passed as well.