title: URI::InvalidURIError When Using HTTParty
body: <p>I followed an example from the <a href="https://github.com/jnunemaker/httparty" rel="nofollow">HTTParty github page</a> and came up with this:</p>
  
  <pre><code>class MatchHistory
      include HTTParty
      base_uri = "api.steampowered.com/IDOTA2Match_570"
  
      def initialize
          @options = { query: { key: STEAM_API_KEY } }
      end
  
      def latest
          self.class.get("/GetMatchHistory/V001", @options)
      end
  end
  
  get '/' do 
      history = MatchHistory.new
  
      history.latest.body
  end
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>URI::InvalidURIError at /
  the scheme http does not accept registry part: :80 (or bad hostname?)
  </code></pre>
  
  <p>However, when I use a simpler solution like the following, it returns the results just fine:</p>
  
  <pre><code>class MatchHistory
      def initialize
          @base_uri = "http://api.steampowered.com/IDOTA2Match_570"
      end
  
      def latest
          HTTParty.get(@base_uri + "/GetMatchHistory/V001/?key=" + STEAM_API_KEY)
      end
  end
  </code></pre>