Refactor NioSocketAcceptor for singleton host case.