Correct Content-Type headers for static files
JSON for websocket messages