Better MockIoSocket connected property.