I recently was involved in a wreck, because I was unable to slow my trailer. I am thinking about building a refit kit to install breaks on a trailer, but I don't want to reinvent the wheel.
http://viadukt.eu/produkt/PT6_Bike_Trailer-2-65-111.htm is the only commercial example I can find.
I'm not aware of a commerically made one, I suspect the barrier is liability issues (and possible legal issues in some places). FWIW, the limits in Australia and New Zealand are the same as for any other vehicle, so the main restriction is that the trailer can't weigh more than the towing vehicle (note below). Other jurisdictions may have different rules.
There are two basic ways to do this. Either have brakes on the trailer activated by a lever on the bike, or make some kind of inertia brake. Having a direct lever is very simple and intuitive for the rider, but you may find yourself limited by the length of brake cables you can buy (it's possible to buy the wire on a roll and fix the endcap yourself, but annoying).
An inertia brake is somewhat harder to build, but very effective. You need the towing arm to telescope somehow, so as the trailer pushes forward on the towing vehicle you have a small movement that you can use to apply brakes. I built a four wheel trailer that worked like this, and just used cheap V brakes on the trailer. That was sufficiently effective that I didn't bother with anything more complex. The drawbar was square tubing, with a bracket at the overlap holding one end of the brake cables.
The major caveat is that neither of those solves the real problem. Once you're sliding along the ground in front of the moving trailer, neither of those will help slow it down. In theory you could grab the brake lever and use that, but in practice you're likely to focus more on getting out from under the trailer.
My preferred solution is to use a bike with two rear wheels, either a four wheel bike or a delta trike. That way you're less likely to fall off it and you can have the trailer apply downforce between the rear wheels to help with traction.
(edit: note that the default limit is actually the unloaded mass of the towing vehicle that the total trailer mass has to be under, so most bike trailers fall well outside that limit. Here's a PDF. What saves the situation is that if the manufacturer specifies a limit that applies instead).
What I do for my bicycle trailer is pretty simple:
I made a rider-controlled trailer brake lever as part of the trailer unit. This makes connecting and disconnecting the trailer from the bicycle easy, since the brake cable(s) do not have to be detached and re-attached.The bicyclist can activate the brake by pushing the paddle backwards with his buttocks.
An additional advantage of this system is that both the rider's hands are free to use the caliper brakes on the handlebars of the bicycle for additional stopping power, and the cyclist can control the relative degree of braking between the front bicycle wheel, rear bicycle wheel and trailer for the safest possible operation.
Furthermore, this design protocol is economical and easy to repair as needed. (I never needed to repair my system ever since I built it almost two years ago.)
I posted a YouTube video showing how effective my paddle brake lever, which is completely independent of the bicycle set up, works.I may be using a road bicycle in the video, but the problem is applicable to any bicycle type.The point is that using a brake on the trailer does help us ride our bicycles without worrying about the heavy trailer affecting any kind of slowing and stopping distance.The link is below: