Drupal 8 port for http://drupal.org/project/cors