Fixes and tweaks to get to properly work on Chrome.
Merge branch 'master' of github.com:mattiasbergbom/libevent-nacl-port