AGPUSH-393 "Add endpointHost and endpointPort as configuration options"