Add OPTIONS support

Adds support for the OPTIONS method for CORS requests.