Fixed bad variable name in Socket::connect