basic support for http-stream