Added varint.py that will be used for the new protocol.