   
   
   # Send Bot on a journey
-  request = (method, path, body, callback) ->
-    match = path.match(/^(https?):\/\/([^\/]+?)(\/.+)/)
-    headers = { Host: match[2],  'Content-Type': 'application/json', 'User-Agent': 'hipbot' }
-    port = if match[1] == 'https' then 443 else 80
-    client = http.createClient(port, match[2], port == 443)
-    path = match[3]
+  request = (method, path, body, callback) ->    
+    if match = path.match(/^(https?):\/\/([^\/]+?)(\/.+)/)
+      headers = { Host: match[2],  'Content-Type': 'application/json', 'User-Agent': 'hipbot' }
+      port = if match[1] == 'https' then 443 else 80
+      client = http.createClient(port, match[2], port == 443)
+      path = match[3]
     
     if typeof(body) is 'function' and not callback
       callback = body

    packet.c('status').t('hc-leave')
    @jabber.send(packet)
  
  
  # Send a message
  message: (target, message) ->

  
  # Load Bot Skills
  loadPlugin: (identifier, plugin, options) ->
    @plugins[identifier] = plugin
    @plugins[identifier].load(this, options)
    true
