WS handshake, frames and masking. started ws js api