Error responses were being passed through to the 'success' callback.  Also, added a way to get the http status code.