First cut - adding cross origin resource sharing support