Implemented basic http listener