http listener prototype