Use URI::Generic#select to build proxy string.

I ran into this separately from issue #36 but it boils down to two
issues:

* Implementation of URI::Generic#to_s omits the port if it equals to the
  default port value (doesn't matter scheme);
* Yum proxy requires the TCP port value irregardless of if it is the
  default port or not.

This would crop up with any software which required the TCP value to be
explicit even know sane implementations would just assume a default
value if one was omitted.