Support "clear" in in/out filter in ports

Fixes: MN-1209
Merge pull request #114 from tomoe/master-mn-1209

Support "clear" in in/out filter in ports