added support for http options method