add maxSocktes setting
Merge pull request #15 from bladepan/compress

add maxSocktes setting