Add the MSG_NOSIGNAL flag to socket send calls to prevent application crash on disconnect on linux systems

Without the patch OpenIGTLink crashes when the peer disconnects and we try to send a message.

Tested on Windows (no flag need to be set) and on Linux (the patch fixes the crash).