Added basic http functionality