Add support for status codes in exceptions (relates to #30).
Add test for IOExceptions (relates to #30).
#30: added HttpStatusIOException.