Initial C# porting of google/u2f-ref-code