set up the http listener and message processor