connect string for remotes and encoding of sessionID - also added entypo