Implementation of bencode with optional fast C extensions
