better connection scheduling & some worker stats
corrected worker ids
using thread local hashmap to store connections
prevent some buffer overflows