look inside the socket where the bulb fits. If it has two round contacts, it's set up for a dual filament bulb. If it has one round contact in the center, then it is set for a single filament bulb.
My guess is that the two wires are for the running light and brake light circuits and the ground is picked up externally via the mount to the frame.
TR