This is Exactly what the US Navy is for. The teachings of Alfred Thayer Mahan are the dogma that is the US Navy i.e. Control the Sea and you control trade. Like the Royal Navy in the 18th and 19th century any attack on shipping, US flagged or not is an attack on the US therefore the use of force is justified.
Isn't the mere threat of attacking shipping an act of war?