Add a filter for supporting Cross origin resource sharing.