Fix rlp

rlp decoding is totally broken.

I would have written some tests, but it's unclear at this point which test framework to use!