It doesn't help with the trailer that you're towing failing to stop as fast as you do, trying to run into you, and trying to turn to the side when it can't.
The solution to the latter problem is to be aware that you have the trailer, and to not brake faster than it can handle. The fact that the trailer makes it harder for you to avoid an accident is exactly why many jurisdictions put extra restrictions on cars towing trailers (for example in CA they aren't supposed to go over 55 mph - even on the freeway).