def create_http
        tuiter_uri = URI.parse(TWITTER_API_BASE_URL)
      
        http_proxy = ENV['http_proxy'] || ENV['HTTP_PROXY'] || nil
        if (http_proxy)
          proxy = URI.parse(http_proxy)
          if proxy.userinfo
            proxy_user, proxy_pass = proxy.userinfo.split(/:/) 
            http_object = Net::HTTP.new(tuiter_uri.host, tuiter_uri.port, proxy.host, proxy.port, proxy_user, proxy_pass)
          else
            http_object = Net::HTTP.new(tuiter_uri.host, tuiter_uri.port, proxy.host, proxy.port)
          end
        else
          http_object = Net::HTTP.new(tuiter_uri.host, tuiter_uri.port)
        end

        http_object
      end
def create_http
        tuiter_uri = URI.parse(TWITTER_API_BASE_URL)
      
        http_proxy = ENV['http_proxy'] || ENV['HTTP_PROXY'] || nil
        if (http_proxy)
          proxy = URI.parse(http_proxy)
          if proxy.userinfo
            proxy_user, proxy_pass = proxy.userinfo.split(/:/) 
            http_object = Net::HTTP.new(tuiter_uri.host, tuiter_uri.port, proxy.host, proxy.port, proxy_user, proxy_pass)
          else
            http_object = Net::HTTP.new(tuiter_uri.host, tuiter_uri.port, proxy.host, proxy.port)
          end
        else
          http_object = Net::HTTP.new(tuiter_uri.host, tuiter_uri.port)
        end

        http_object
      end
Instantiates the http object