Improving SocketServer test and adding traces for Network classes to testing framework