Move srpregister interaction to the backend.

Also:
- remove unused code.
- add status attributes for srpauth responses.
- split response handling
- remove unneeded hack to avoid segfault emitting None
Merge remote-tracking branch 'refs/remotes/ivan/feature/move-srpregister-to-backend' into develop