changed way of reading network stream, added support for client cache at ODatabase level (also added to synchronous command)