Set socket option SO_NOSIGPIPE for IOS
Match CocosPlayer's JSB_DEBUGGER_PORT