Checkpoint refactoring work.

In-progress modification of the lib into a better layered design,
implementing TPKT and COTP layers below the profinet layer.