Why don't you go have a clanker take a look at their LibSandbox and LibTLS code and see whether it looks like a good starting place for "we'll patch it in post-production".