Change order of response header in query string

If you supply ResponseHeader after OutputFormat, mklivestatus gets upset and throws back an error. This fix works around the problem by placing ResponseHeader close to the top of the query instead of at the end.