fixed concurrency issue in TLSNotary peer messaging handshake