sets status to connected, clears connection intervals and sends the handshake on socket open