Added Client code for HTTP requests.