Add basic filter support to radclient

Add backport multiple fixes from master branch