Added test for the rstream module.
- Fixed dialyzer error in http_output.