remove optional bufferSize in socket.read