fixed port storage issue in ClientConnection