Manually creat the http request so that a user-agent can be set