add support for passing a MessageFilter to the main retrieveMessages() methods