added gzip/deflate support to server.js