Add authentication logic to the client. Also, now we don't subscribe on resource creation, rather when events are added
Don't establish server connections on Resource creation, rather when a resource is set or an event added (or auth called)
If auth is called after a connection has already failed, make sure we try to reconnect
Make sure that the dataregistry is properly created
Fix tests
Bump version to 0.3.3