Fixed bitcoin urls with spaces in them

By default coinbase would include spaces in bitcoin
payment requests with spaces in the message field.
This fix encodes spaces properly so they are supported.