Allow percent-encoded socket paths in the part of {QC_,}DATABASE_URL, closes #72
merge socket helper