MULE-7399: Flows can start processing messages before referenced flows are completely started

Broken test: cannot use mule client to exercise an inbound endpoint if mule context is not fully started.

Fix: use HttpClient to exercise an HTTP endpoint.
(cherry picked from commit 19f7add)