Updated TCPClient.transmit() to improve error handling and detection. This should prevent cases where an exception was thrown for a non-error (Success) condition. The bug was found in a log on an SNFMilter system where we were researching incomplete SYNC sessions. It is hoped this condition explains those incomplete SYNC sessions and that this new code will fix it.
Fixed SIGPIPE bug - transmit and receive functions in networking were using NOFLAGS instead of NO_SIGNALS. As a result broken pipes would raise SIGPIPE on *nix systems -- the coded did not expect that. NO_SIGNALS is not defined for win* systems so an ifdef was added to create NO_SIGNALS like NOFLAGS where it is not defined on win* systems. Win* has no concept of signals so this is a non-event for win* systems.