Cross-origin resource sharing library and stack middleware.