Fix #105. Fix handling of 423 response to REGISTER

- Patch applied from master