Explicitly set ports for all Uri#replace methods

To avoid :0 ports in the replaced URLs
Merge pull request #9 from astashov/explicitly-add-ports

Explicitly set ports for all Uri#replace methods