Small API to handle freeradius connection