define snprintf as _snprintf on Windows
(VS2010 doesn't have that function)
pn_connector_process - on Linux poll returning POLLIN and recv returning 0 means the socket was broken. This was detected by setting c->input_eos to true but this was later never checked.
Merge branch '0.4-disconnect' into ttlj_proton
Merge branch 'ttlj_proton' of github.com:ttlj/qpid-proton into ttlj_proton
Add pn_messenger_buffered
Merge branch '0.4-sync' into bozzo_proton
Add pn_messenger_progress
Merge branch '0.4-sync' into bozzo_proton