Moved the host and port to the connect function for prismatik client