Use RestClient and plain net/http because ruby 1.8 open-uri cannot set header bug.