fixed [#1661] WAUrlFetch applies query string params and http headers after writing to response body resulting in an IllegalStateException