removing MSG_MORE flag in sys_net.c. added SO_NOSIGPIPE for MAC OS X