added some connect middleware like ip and tcpSettings