Added http request wrapper class with support for cookies.