Cowboy middleware supporting Cross-Origin Resource Sharing (CORS)