add cors filter
Merge pull request #248 from HubSpot/cors_filter

add cors filter