(#2577) - fix binary/blob attachments over http

LevelDB is broken and I don't have the patience right now to figure out why.
This was the leveldb bug that the new tests caught. Basically if there were 50 attachments, then we only processed the first one. Guess we didn't notice somehow.