Added basic support for HTTP responses