networkConnectionHandler  - Added MultiThreading mode

handler can be used for both single threaded or multithreaded mode.