Initial checkin of TLS module (not hooked up yet).