Call SleepEx in a loop in the Thread.Sleep () icall, to avoid a race when the sleep is interrupted. Fixes #683519.
Fix the previous change.
[HttpWebRequest] Avoid nullref on empty cookie header.

	If the Set-Cookie header is empty, the cookie instance is not created.
	Fixes bug #670189.
[HttpListener] Avoid multiple calls to Close()

	HttpListenerResponse could be calling HttpConnection.Close() more than
	once.
[gzip] Allow partial flush

	When Flush() is called explicitly, do a Z_PARTIAL_FLUSH to force gzip
	into giving us whatever is available. Less efficient, but compatible
	with MS.
[Socket] Use the queue for generic read/write.

	This fixes a bug reported in stackoverflow and mono-list that affects
	Mono 2.8 and Mono 2.6 when using BeginReceive/BeginSend overloads that
	take an ILIst<ArraySegment> argument.
[HttpListener] Set each cookie in its own header

	Send a Set-Cookie header per cookie instead of a Set-Cookie2 with
	multiple cookies.

	Fixes bug #667550.
Avoid killing the thread if socket already null

	In some weird cases socket is null when we try to close it.
[HttpWebRequest] Use the timeout in GetResponse()

	The timeout was not being used in GetResponse.
	Fixes bug #603794.
[HttpWebRequest] EndGetResponse already does this.
Add GC_stop_world_external and GC_start_world_external that properly disable signals and acquire GC locks before calling GC_stop_world and GC_start_world respectively. Use these new functions external of GC in liveness code. May fix case 530367.
ARM: Fix issue when passing many and big value types (structs) from native code to managed code as method arguments, would cause memory overwrite and crash later. The change more properly estimates space required to store arguments in DynCallArgs.regs[] array. (Case 502916)
Fix ARM cross compiler compilation issue on windows(?)
Fix ARM cross compiler compilation issue on windows(?). Blind attempt #2.
Merge pull request #55 from Unity-Technologies/unity-staging

Unity staging