move response to a dedicated method
store header to be send in a map
send response content directly from files if possible
send index.html as a file
serve js library files locally without external CDN
make index.html work from file:// protocol