[Extensions] Avoid race condition in Extensions registering.

This patch inverts the registration order. Now during the Client's
initialization we synchronously ask the Server for the extensions
to register.