added version support for IDPs and BWC
Added protocol versioning to config and enrollment metadata