peer: reduce max concurrent requests and flush buffer size
peer flush queue: use global async queue to buffer and serialize disk writes
Merge pull request #30 from iantocristian/master

optimizations to reduce memory usage