Added some basic http functionality.