public function handleConnect(NetworkConnectionInterface $conn) { if ($this->isAddressBlocked($conn->getHost())) { return $conn->close(); } return $this->component->handleConnect($conn); }