-Fs      = require 'fs'
-Url     = require 'url'
-Log     = require 'log'
-Path    = require 'path'
-Connect = require 'connect'
-
-User    = require './user'
-Brain   = require './brain'
+Fs         = require 'fs'
+Url        = require 'url'
+Log        = require 'log'
+Path       = require 'path'
+Connect    = require 'connect'
+HttpClient = require 'scoped-http-client'
+
+User       = require './user'
+Brain      = require './brain'
 
 HUBOT_DEFAULT_ADAPTERS = [ "campfire", "shell" ]
 


    @connect.listen process.env.PORT || 8080

  # Load the adapter Hubot is going to use.
  #
  # path    - A String of the path to adapter if local.

  http: (url) ->
    @httpClient.create(url)

Robot.Response::httpClient = HttpClient

module.exports = Robot
