Consumer are able to register to server automatically

Fixes #21