Allow 'localhost' to be used as a valid origin
Merge pull request #779 from mattrobenolt/localhost

Allow 'localhost' to be used as a valid origin