Fixed problem with socket send buffer overflow.