Proper, standards-compliant content negotiation for node.js