Support RFC 4985, draft-howard-gss-browserid-05
winlib: compile fixes for RFC4985 support