Added requestHookFn support to createClient options.