request_rewrite: Renamed Pool to RequestPool and simplified the implementation.