r15356: Remove unused 'flags' argument from socket_send() and friends.