Analyticity and the holographic S-matrix