ensure traceback is imported, added IOError message mappings and HTTP error message mappings.

Added spaces back before colons.