Added a thread-safe counter class.
Fixed the DNS analyzer plugin.