set maxsockets
Merge pull request #62 from Trott/maxsockets

set maxsockets