Make a Y-splice, or a butt-splice, or a multi-wire splice in your motorcycle wiring harness that looks exactly like the ones made at the factory. More info and tool and material sourcing can be found at this thread on the XS650.com Forum:
http://www.xs650.com/threads/open-barrel-splice-video.54861/