Add pthread.h include to test_connect_delay.cpp

This test case uses pthreads, but doesn't include the header.
Merge pull request #423 from jmgao/patch-1

Add pthread.h include to test_connect_delay.cpp
Update doc/zmq_msg_get.txt
Merge pull request #424 from vaughan0/patch-1

Update doc/zmq_msg_get.txt
Significantly reworked the monitoring infrastructure with a more granular per socket API and to play well with monitoring endpoints in application threads
Merge branch 'master' into fix-monitor
zmq_msg_t will now typedef a named struct.

This change allows forward declaration of struct zmq_msg_t.
Merge pull request #425 from Astellar/zmq_msg_t

zmq_msg_t will now typedef a named struct.
Merge branch 'master' into fix-monitor
Merge pull request #426 from methodmissing/fix-monitor

Fix monitor
Init message in drop subscription

Fixes reported issue with PGM receiver on 32bit Suse where asserts
were hit due to the msg flags not being zeroed.
Merge pull request #427 from ianbarber/master

Init msg in pgm_receiver drop subs
Use <stdint.h> shipped with Visual Studio 2010 and later

Visual Studio didn’t have <stdint.h> until 2010, therefore we had a bunch of typedefs for int8_t, int16_t and the likes in "stdint.hpp". This patch limits these typedefs to Visual Studio versions older than 2010 and uses compiler-shipped <stdint.h> on 2010 and newer.
Update MSVC2010 project after recent renames and additions

This patch updates MSVC2010 project after device was renamed to proxy and new files were added (v1_encoder.cpp and v1_decoder.cpp).
Merge pull request #428 from ipechorin/9056c13e1ebbfd7798ddd7b5cfdb9950933c710e

Use <stdint.h> shipped with Visual Studio 2010 and later
Update MSVC2008 project after recent renames and additions

This patch updates MSVC2008 project after device was renamed to proxy and new files were added (tcp.cpp, v1_encoder.cpp and v1_decoder.cpp).
Fix compilation using MSVC 2008: stdint.h is not present in this compiler

This patch fixes the two headers added recently to include our own "stdint.hpp" instead of system <stdint.h> because the latter is not available in Visual Studio versions prior to 2010.
Fix compilation using MSVC 2008: its <algorithm> defines wrong min/max without NOMINMAX

Visual Studio 2008 compiler defines min/max as macros in its <algorithm> even if <windows.h> is not included at all. This patch defines NOMINMAX to remove these macros and fix compilation on Visual Studio 2008.
Merge pull request #429 from ipechorin/dcf683aacb533634c273bb2f51fa3ceaadf89202

Update MSVC2010 project after recent renames and additions
Fix LIBZMQ-211: REP socket asserting when getting malformed request

REP socket demands at least an empty address stack. The server asserted on (msg_->flags () & msg_t::more) in rep.cpp:75 when receiving a malformed request without empty part.

This patch makes a REP socket to discard and silently ignore such malformed requests.