pin and socket inside the bars sounds like a recipe for disaster to me. Cut off the pin/socket and do a soldered Western Union splice to be safer. For extensions I usually do 3 layers of electrical tape on each wire (staggering the connections by at lease 1/2 inch), and then shrink tube the section.
Note: if done properly each finished connection should be only 1/4" long.
That method hasn't let me down in almost 40 years.
Scarlet Red 2010 Road Glide Custom named Trixie - She's a flashy little minx..
Basic black 1981 Tour Glide Classic named Alice - She's a sleeper project.