def expand_token(token)
      url = URI.parse("http#{'s' if use_ssl?}://#{host}/#{token}.json")
      req = Net::HTTP::Get.new(url.path)
      res = @http.request(req)
      data = JSON::parse(res.body)
      data['trunct']['url']
    end
def expand_token(token)
      url = URI.parse("http#{'s' if use_ssl?}://#{host}/#{token}.json")
      req = Net::HTTP::Get.new(url.path)
      res = @http.request(req)
      data = JSON::parse(res.body)
      data['trunct']['url']
    end
Expand a token: returns the original URL