Created the UnisonURLWrapper class that will allow us to modifiy the behaviour of the openconnection() method for tests. Created the URLConnectionFactory class that should facilitate testing using mock libraries such as mockito or Jmockit (not chosen yet). The other modifications in Request, AsyncRequest are for compliance with the new Wrapper class only.