Move HttpMethod to http.Method for easier reuse.
http.IncomingMessage API