Removed whitespace.
[#2] Added component logging.
[#1] Replaced couch-client with nano.
Significant refactoring to remove use of separate ports for document name and attachment name since this cannot guarantee to match up correctly with more than one attachment is requested.
Included header information so that it's easy to find the attachment content type.
[#3] Added an example flow for reading document attributes.