Fix for #880 by implementing simple same origin policy logic and making it an optional configuration
Merge pull request #882 from toddwest/atmosphere-1.0.x

Fix for #880 Optional same origin policy with real implementation