https://www.dotkernel.com/how-to/mezzio-cors-implementation-in-dotkernel