Implementing Plume TLS handshaking

Totally untested!