How to make sockets follow the mesh scaling?

I want to attach a socket to the mesh used in the landscape spline so that it follows the deformation of the spline.
However, although the socket position follows the deformation, it does not support scaling. Therefore, scaling to a specific coordinate axis will cause the connections to not match.

For example, all angles in an equilateral triangle are 120 degrees, but this is no longer the case when scaled in one direction. But the socket is still facing 120 degrees. How do I make sockets follow the mesh scaling?