* Fix LibP2P varint implementation to decode only minimal valus.
Fix compilation warnings.
Generalize Varint.