Typo fix in comment in rlm_rest

fundtion => function