Rewrote HttpTransport to use java URL