more refactoring
start converging towards a functional-friendly middleware signature
add cors
You can also use your local clone with git send-email.