Implemented flushing of states and policies via XFRM.