Registration response phase 1

Fixes #13