Have you some tests or reference CLI utility for the library? I would like to test it browser independently. Or the best way is using patched stunnel? https://github.com/deemru/stunnel