Handle latin1 properly.
Fix crash when no charset was given.
Use hackney as http client library instead of httpc.
Added gif resize script.