Allowing endpoint host/port to be configured