The server error message is a dictionary now, and it provides the xhr object.

Closes #118