change type of params from ngx_str_t** to u_char**