By refactoring the code, it can be made easier to customize http client. For example, one could subclass XMLRPCServerProxy and only override that portion of the code so that support for cookies could be added.