Remove trailing whitespace
Check transfer encoding to prevent JS injection in binary
Merge pull request #54 from shaine/fix_binary_js_injection

Fix binary js injection