Removed dependency to System.Web.dll since it is not available in Xamarin.Android
or NET 4 Client Profile.
System.Net contains a compatible name-value-CookieCollection.
Protect from NullReferenceException during shutdown or unexpected message on client.