added support for HTTP options method.