Experimenting with httr instead of RCurl