Allow local files residing in file:/// to access socket seter

This works because if a local file connects to a outside server (Even if it's localhost) it will send origin:null, previously that would fail but with this fix you can allow files that reside in file:/// to connect if options.origin = "*".