Fixed rewrite response headers sended back to client