hx-stream: library and test-harness.