Networking functionality for a JavaScript WebTundra client