Fix $h \in (0,\pi/2)$. I am trying to explicitly exhibit a holomorphic function $f\colon \Sigma \to \mathbb{C}$, where $\Sigma$ is the punctured sector
$$\Sigma := \{z \in \mathbb{C} \:|\: z\neq 0, 0\leq\arg z\leq h\},$$
and where we require $f$ to satisfy the following conditions on $\partial\Sigma$:
$f(x) \in \mathbb{R}$ for $x \in \mathbb{R}_+$.
$|f(e^{ih}x)|^2 = x^2 + 1$ for $x \in \mathbb{R}_+$.
The only thing I tried so far is to start with $f(z) := z + 1$, which satisfies all the conditions except for having $|f(e^{ih}x)|^2 = x^2 + 2\cos(h) x + 1$, and to tweak that -- but I didn't get anywhere. I'd be happy for any tips, e.g. a proof that such an $f$ exists abstractly or doesn't exist at all. Best of all would be "$f$ exists, and here's a formula: ... ."
I did think twice about this being "research level", but, well, it is part of my research! I posted the same question at https://math.stackexchange.com/questions/2766653/looking-for-holomorphic-function-on-a-sector-with-specified-boundary-behavior , but didn't get any answers.