[fix] Infinite buffer size for socket.io to prevent connection termination

LearnBoost/socket.io#1519