How about fitting it with a replacement snap in socket like this. https://www.ebay.com/itm/Pico-5441C-Universal-Tail-Light-Socket/133082038031?