The melted socket was so brittle if you looked at it wrong it would break. I used a dremel, super glue, two part epoxy and thread to get it together. Ugly I know, but it is working.
The super glue was used to tack the pieces together. The thread was infused with epoxy and wrapped around the socket, once cured this becomes very strong and temperature resistant. The dremel was used to shape the inside of the socket, to except the bulb again. I also had to used the dremel to clean up the headlight opening so the socket could be reinstalled.