Experiment: describing client end of TLS socket

Including a perhaps-inadvisable bit of ctypes magic.