Adds rough support and tests for http