added HttpRequest class and got authentication

HttpRequest can be altered to meet all our requirements, not just the
one