Using Sprite Sockets

How to attach objects to sockets defined in a Paper 2D Sprite.