Initial XHR transport plugin in C with inline JS

Still a work in progress.