Use RestClient because ruby 1.8 open-uri cannot set header bug.