Added support for OPTIONS, HEAD and TRACE methods