Win32 IOCP

Change-Id: If57914db039ff8ffdd0e660f9aac5e9276ab5cbf
Read data in one gulp for server

- Otherwise we have bottlenecks as there is quite a bit of overhead for
  processing the data several small chunks at a time

Change-Id: I4e90d97274c78c128e2b34910abf62602919896c
Make v1 writebuf functions pass the socket

This allows the plugin to optimize a writebuffer for the socket (for
example, by not allocating and freeing one again and again)

Change-Id: Iab3c6fd016ec451b766127aaccc3bc0ea809cc09
Use more detailed connection status

Change-Id: I48a32167402ce3ef144b306846ac68420f519c0e
Allow MSVC and unix builds to reside in same tree

This force-redirects from 'config.h' to 'win32/config.h' if MSVC is
detected. This allows them to be used in the same source tree without
completely cleaning it

Change-Id: Ie8fa2ff5b41623e148a4f007d9072d73a75fa09e
Include real 'stdint.h' if a non-msvc compiler is detected

Change-Id: I037d1d7084b535ff95a626538cea8998f1d96a1e
Use lower-case basetsd include instead of BaseTsd

Change-Id: Icc6819c2e9dad460a43a2efcb11327e502388405
CMake-Win32: Make compilation faster and restore old DLL name

Previous versions used 'libcouchbase.dll' but with the new project, it's
'couchbase.dll'. While the latter is more correct, it breaks programs
still using the older name.

Use /TC for C files

Change-Id: I34308567e8f1ca28cc7246fcbed0688b4dd511b1
Don't redefine snprintf on mingw

Change-Id: I4474975d6ecb0d1125fc8c5b4ecd0243164c578f
apply_want when sending queued packets

Change-Id: I59d79f2de84dfe61a2b06285c55018585f92c443