refactoring ike_sa (code style problems)