Improve HTTP status code handling (Fix #1)
Fix typos