Added Implementation of http Request and Response with test cases

Suggestion... change the name to `ToBytes`.
Secondly here also you are calling instance method, so you don't have to pass the `response` object to it.