Added prototype wrapper for http request object