Various cleanups
Various cleanups

- Improved variable names and function signatures.
- Fix some duplicated and misplaced state setting operations.
- Eliminate the redundant "initial" key exchange states
- Allow configuration of max key age and packet counts

cmusser/vpnd