Make ListenFilter work with IP prefixes
Add test for listen filter
Update ListenFilter client code