void onDisconnectInHeader(AbstractHttpConnection httpConnection, ByteBuffer[] rawData) throws IOException {
ByteBuffer buffer = HttpUtils.merge(HttpUtils.copy(rawData));
int maxReadSize = 8;
if (buffer.remaining() < maxReadSize) {
maxReadSize = buffer.remaining();
}
// looking for slash of protocol -> HTTP/
for (int i = 0; i < maxReadSize; i++) {
if (buffer.get() == SLASH) {