constraint protocols to http, https and data

For #18
Merge pull request #19 from hrj/i18_disable_file_protocol

constraint protocols to http, https and data
for #18