Switched to using the requests library for HTTP calls and added streaming support