Use server event request instead of callback
Make adproxy.js executable
Update package.json according to npm specification

* Add homepage
* Update bugs
Move configuration to a separate file
Replace addListener with on
Don't write to a closed client

Avoids a crash when the connection is terminated, e.g. by stopping or
reloading the page.
Merge