Follow redirects when querying sparql

This is maybe a little naive (I haven't done my research about whether/which redirects are okay for SPARQL) but Marmotta's Kiwi endpoint returns 303 redirects for direct queries which chokes this library. This patch fixes that.

If this looks good, in theory, I'll do due diligence and clean it up for a better PR.