for bug #241, refine the socket max buffer.