Fixed issue #56
Replaced slice with single chars calls
Caught the right exception
Checked if characters are valid hex instead of trying to catch the exception (which is invalid). Bonus: applied same refactoring to quoted_printable_decode
Merge
Merge pull request #58 from sk-/string_fixes

Fixed issue #56