* Cookie.cs: set Version to '1' if Port is set,
don't include path and domain informations when version is 0,
match ToString () output with .NET 2.0,
fixes bug #316017
* CookieTest.cs: enabled ToString () test,
added Version property test
svn path=/trunk/mcs/; revision=94013
* HttpListenerRequest.cs: Support for Cookie decoding.
* HttpListenerResponse.cs: Support for encoding cookies on the response sent to the client
* Cookie.cs: new internal method to encode the Cookie in a proper form to sent to clients
svn path=/trunk/mcs/; revision=82153
* Cookie.cs: do not return "/" for Path if it wasn't set
explicitly.
* CookieContainer.cs: set cookie path only if its version is
"Netscape" and is null or empty. Fixes#81420.
svn path=/trunk/mcs/; revision=76095
* Test/System.Net/CookieContainerTest.cs: added tests for
CookieContainer.
* System.Net/CookieContainer.cs: style, fixed checks for properties,
implemented the MonoTODOs for the method that take an Uri. GetCookies
and GetCookieHeaders now really return only the cookies that are
requested filtering by the Uri parameter.
* System.Net/Cookie.cs: style, added default values for Comment, Domain
and Port.
* System_test.dll.sources: added CookieContainerTest.cs.
svn path=/trunk/mcs/; revision=36918