Use open-uri instead of net/http