Add code to netsend to auto-adjust the socket send buffer size.