A right triangle is inscribed in a regular octagon such that one of its legs is a side of the octagon and the hypotenuse passes through the center of the octagon. Given that the side length of the octagon is $s$, express the length of the hypotenuse in simplest radical form. Let's think step by step and output the final answer within \boxed{}.
user