add filter method to Socket collection