Modern httr

@craigcitro Can you take a look? Goal is to keep this PR open for discussion - I don't think this is the final form.