Added spam filter

Added spam filter functionality to message server and message server
monitor.