Have status code 0 throw an error as it should

Fixes #10