Fixed bug in HTTP GET / POST requests.