How to add a socket to a bone via Blueprint?

Hi,

I cannot find a way to add a socket in blender (empty?) to export it with my armature to unreal

so I wanted to add a socked to a bone programmatically (via blueprint) since it might be erased when I reimport my models/skeletons from blender

I just cannot make it work

thanks for your help