Usually, the plastic casing of the socket breaks and often leaves the electrical contacts intact so on the face of it, epoxy sounds like a good idea. However, the conductors themselves may be damaged and it's all too easy to permanently fix an electrically broken socket to a mobo. This will usually result in the motherboard having to be replaced.
With the right tools, the de/soldedring job is an easy procedure - It's the stripdown and consequent rebuild that usually presents the difficulty.
The usual cause of these sockets breaking is that the trailing power lead has been tripped over. this can be prevented by using a "laptray" such as the ones featured
here (You'll find them cheaper in the poundstores) and by tucking the cable underneath the laptop and looping a foot. A while ago, there were plastic cable ties available which fitted into the Kensington lock socket but these now seem to have all but disappeared.