Enable Multithreading
Fix packet handling
Fixed socket reading
Merge branch 'master' into peercoin