added TCP server address and port to the constructor