Prototype of async language negotiation

Run `node examples/langpack/server.js` and open any of the HTML files found in
`examples`.

This is WIP.  For now, only language negotiation works.  Fetching actual
resources is on the todo list.