cross origin filter for servlet filters(extracted from jetty servlets)