added support for options hash in requests