Adding IPSec Parameters APIs, fixing several other APIs.