A Kent jail was found to be rife with drug smuggling and staff-prisoner relationships during an unannounced inspection.