Detect wrongly-encoded bitcoin addresses
Optimize the base58 decoder

The existing version was not using a binary search,
and was potentially allocating memory on each iteration.