add OPTIONS support
Merge pull request #4 from adennie/options

add OPTIONS support