adding ws02 code back to http-server.js, not sure if we need it