Solved the CORS OPTIONS handshake problem