Migrating to threaded rlm_perl