Fix http handler to set request method on conn.