http-listener for the gen-server