Fix throwing of http error codes, v0.2.5.