Fix CORS support. Bump v0.5.1