Library implementation of the Trusted Network Connect (TNC) specification