Integrate #34 and merge the tests fns together.
Integrate #34 and merge the tests fns together.

Shraddha512/rust-http,chris-morgan/rust-http,servo/rust-http,Shraddha512/rust-http,chris-morgan/rust-http,Shraddha512/rust-http,Shraddha512/rust-http,servo/rust-http,chris-morgan/rust-http,chris-morgan/rust-http,servo/rust-http,Shraddha512/rust-http,servo/rust-http