This fix makes it so that the module works as expected when `server_hostname` is provided. It was being silently ignored previously. I suppose this may also fix similar behavior with `server_insecure`, but I did not check that explicitly.