Added basic http handling