send public key to new ws