&& version[1] == SoapTcpProtocolConsts.PROTOCOL_VERSION_MINOR
&& version[2] == SoapTcpProtocolConsts.CONNECTION_MANAGEMENT_VERSION_MAJOR
&& version[3] == SoapTcpProtocolConsts.CONNECTION_MANAGEMENT_VERSION_MINOR) {
sessionState.setStateId(SoapTcpSessionState.SOAP_TCP_SESSION_STATE_AFTER_HANDSHAKE);
IoBuffer response = IoBuffer.allocate(2);
OutputStream out = response.asOutputStream();
DataCodingUtils.writeInts4(out, SoapTcpProtocolConsts.PROTOCOL_VERSION_MAJOR,
SoapTcpProtocolConsts.PROTOCOL_VERSION_MINOR,
SoapTcpProtocolConsts.CONNECTION_MANAGEMENT_VERSION_MAJOR,
SoapTcpProtocolConsts.CONNECTION_MANAGEMENT_VERSION_MINOR);
out.close();