Add OPTIONS header support

Required to be able to implement CORS requests.