public function getRemoteAddress() { $endpoint = explode('://', $this->getRemoteEndpoint(), 2); return isset($endpoint[1]) ? $endpoint[1] : $endpoint[0]; }