Hi tegleg,
The HTML5 networking path is still in the early stages and still being worked on atm so I’d expect it to be a little flaky. AFAIK it’s built on websockets which is wrapped in BSD socket api (but don’t quote me on that) so if you want to mess with it please do.