Refactor

* simplify `ssms_srp_auth_handler` interface
* add type specs
* improve tests