fix bug for bug #241, default to 32k for socket buffer.