Add options to fix Redirect loop & encoding issue

Details of each options:
ssl: Force request through HTTPS protocol for server that redirect a
http request to https that cause Redirect loop.
real_path: For short url that hide the actual file extension.
charset: Fix 'Encoding not recognized' error in Issue 22.