Made the network function more versitile by moving the data filter to
main.cpp and allowing the passing of a function pointer for a filter
function to the wowproxy class.
There is only one mutex now so it won't get switched around in the
network threads.