The handshake process reads/writes from/to the
socket. status may therefore be OPEN_WRITE once
the handshake completes. However, the handshake
happens when the socket is opened so the status
must always be OPEN_READ after it completes. It
is OK to always set this as it is only used if
the handshake completes.