Fix swap and equals methods of http::request
Add an unit test to request_test for http::request::swap