Cleanup, checkpoint. Opens, unpacks, decrypts and deflates.

Code is a weird mix of stream and promises, and object structure is
likewise exploratory. Next up: unpacking body data!