First cut at 1RTT handshake. Lots of OPEN ISSUEs and TODOs