Revert "JBTM-1650 don't set TPEV_DISCONIMM on windows"
Revert "JBTM-1650 updat to set session TPEV_DISCONIMM when socket closed"
JBTM-1650 update to block reading from the socket until tpdiscon() sent the message in conversation
Merge pull request #47 from zhfeng/JBTM-1650

JBTM-1650 update to fix SIGPIPE when tpdiscon()