Adds support for more http codes. Fixes #3

Adds support for more http codes. Fixes #3