Support for OPTIONS method.

Closes #187.