Ident server with masquerading support