Add a replace() method to _URLMixin

It creates a new instance with some fields being replaced with new values. This makes it easy to parse an URL and then modify some field(s).