Added basic support for HTTP.