change both send and receive socket buffers
Merge pull request #3279 from birarda/buffer-fix

change both send and receive socket buffers