Handle the http 400 case
Merge pull request #7 from mthurman/handle_bad_request

Handle the http 400 case