   robot.respond /rabbit queues/i, (msg) ->
     results = []
     msg
-      .http("http://#{host}/api/queues")
+      .http("#{scheme}://#{host}/api/queues")
       .query(sort_reverse: 'messages')
       .headers(Authorization: auth, Accept: 'application/json')
       .get() (err, res, body) ->


# get_queues = (msg) ->
#   msg
#     .http("http://#{host}/api/queues")
#     .query(sort_reverse: 'messages')
#     .headers(Authorization: auth, Accept: 'application/json')
#     .get() (err, res, body) ->

    sub = msg.match[1]
    results = []
    msg
      .http("#{scheme}://#{host}/api/queues/#{virt}/#{sub}/bindings")
      .headers(Authorization: auth, Accept: 'application/json')
      .get() (err, res, body) ->
        if err
