Add exceptional handling for invalid charset.
Don't return 500 even if it detects invalid charset
Add dependencies to cpanfile
Merge pull request #1 from ytnobody/unknown_encoding_method

Add exceptional handling for invalid charset.