fixed bug that prevented headers from getting re-written when pipelining multiple requests with a keep-alive. Only the headers in the first request on the connection were getting re-written.