Copied from Cistron 1.6.5, with minor changes for FreeRADIUS