this patch mainly modernizes the bearer creation to use smart pointers. that allows to simplify the error handling. ue_stack is changed to match new interface. This commit compiles but doesn't work.