improved bitcoin url handling