Unified code to parse bitcoin uris.