Add WAMP-CRA Authentication

Ported the WAMP-CRA authentication from AutobahnPython server code, matching each line as closely as possible.