Refactored couchDBAttachment + increased socketTimeout
Iterate over attachments to create Attachment