Update server.js

added Content-Length header