Added credit management

- added credit management for requested files
- updated to lastes czmq zmsg api