Ring middleware for Cross-Origin Resource Sharing.