Add a log file for debugging
Use Tornado's event loop

I considered asyncio, but there doesn't seem to be an HTTP client
available that handles streaming responses.