support for singleton on host and port attributes