https://code.google.com/p/rencode/