Read the SADB and parse message extensions.
Refactor.