security version router
added ipnendpoint to bootstrap
added abstract for implementation
fix bootstrap test
improved security check v1 and v2