appened some multi thread support , nio framework, deep analysis