Hi Jeremy, what I meant by ICCB was what some suppliers use a name for the 'little' black box between the 13amp plus and the type 2 connector. From your very comprehensive answer it would seem that there has to be something between the 13 amp plug and the type 2 connector so it's not possible to build ones own granny charger. Or is it!
I have no idea what the abbreviation ICCB stands for, but the box in the lead is an EVSE, almost always with some additional electrical protection in the form of earth leakage detection. The EVSE controls the switching of power to the car charger and also tells the car charger how much current can safely be drawn from the supply (10 A maximum in the case of one fitted with a 13 A plug). You can certainly build one, the signalling interface isn't hard to design and code. The protocol is contained in IEC61851. The Control Pilot signal starts as +12 VDC relative to PE, fed via a 1 k source impedance. When the car is plugged in it is loaded down to +9 VDC, and this drop is detected by the EVSE which then starts the 1 kHz Control Pilot signal, which swings between +12 V and -12 V before the 1 k source impedance (so the swing is between +9V and - 12 V initially at the Control Pilot terminal on the Type 2 connector when plugged in).
The car then measures the duty cycle of this signal, to determine the safe maximum current that can be drawn, and having done that loads the Control Pilot down to +6 V, - 12V. This additional load on the positive going part of the Control Pilot is detected by the EVSE, which then closes the main power contactor to supply power to the car. There are various fault detection features built in, such as measuring whether the -12 V part of the signal is correct, as well as monitoring the positive going signal for changes. If either the car requests that power be turned off (by removing part of the load on the positive going signal) or a fault condition is detected, the EVSE will turn off the power.
The earth leakage detection part works on the supply to the car, and measures the difference in current between line and neutral. If there is no leakage to earth (indicating a fault) then these two currents will be equal. If they differ by more than 30 ma then the EVSE will shut off power as a safety precaution.
There are some EVSE kits available, like the Open EVSE project:
OpenEVSE - Electric Vehicle Charging Solutions