#160 - improve CORS support to check Origin agains configured ones.
Merge pull request #167 from searchisko/160

improved CORS support to check Origin agains configured ones - closes #160