// Upon DISCONNECT 6 bytes are read by the ClientConnectionHTTP": mode (1 byte), a length (int), and an 'additional results (1 byte)
String header = getHead(HEADER_OK, false,
"application/octet-stream", 6);
dataOut.write(header.getBytes(ENCODING));
dataOut.writeByte(ResultConstants.DISCONNECT); // Mode
dataOut.writeInt(4); //Length Int of first result is always read! Minvalue is 4: It is the number of bytes of the current result (it includes the length of this Int itself)
dataOut.writeByte(ResultConstants.NONE); // No Additional results
dataOut.close();
return;