WebClient updated

I ported the latest version of WebClient and tests and some support classes of Network categories needed to make the client stuff to work.

I hope you find it useful and can integrate in your repo.

Thanks.