Configure host and port in one place. Start drafting persistent connection handling