NetworkHandler::read, first version