PERL-131 support connect option in URI
use more idiomatic perl for attribute builders