Move the host, timeout and port into the application environment.