made API closer to AutobahnPython and added Wamp authentication protocol.