I bought a cheap pass-through socket with 2 USB ports from Pollin . The blue LED is too strong at night so I modified it, see below for the "before" and "after" pictures. Obviously, the unit is photographed with the mains socket missing, that's not how it actually ships. The charger is rated at 1A and in my experience is able to provide more than that. It's actually one of the few non-dedicated chargers in the house that is able charge the iPad without triggering a warning on the screen. Since it doesn't come [directly] from China it's likely built to a decent standard. By the way, the part number was "94-351077", but it's not on stock anymore. The output is based on a THX202H SMPS regulator with decent specifications. The datasheet for that IC shows a reference circuit for a 5V/1A supply, which is what I guess they used here. The underside shows quite a bit of rework happening: it looks like most of the SMD parts...
Electronics and programming interspersed at various levels of difficulty.