Fix ruby 1.9 compatibility issue when loading free ip

In Ruby 1.8.7:

  {}.to_s # => ""

In Ruby 1.9.3

  {}.to_s # => "{}"

This causes the url for smart proxy to be broken.