public function start()
{
$this->parts = parse_url($this->url);
$transport = $this->_transport();
$ip = $this->_ip();
$port = $this->_port();
$socket_path = $transport . '://' . $ip . ':' . $port;
if ($this->client->connect($socket_path)) {
_debug("connection to {$this->url} established");
// send request data
$this->send_request();
// start loop and wait for response
JAXLLoop::run();
} else {
_debug("unable to open {$this->url}");
}
}