having httpserver listen to the port instead of the application, in
preparation for using ssl