Added Implementation of http Request and Response with test cases

why do you need to construct object here? You are calling an instance method, so you can use `this`.