Add multiple hosts variant
Simplified TX state processing.
Adds a new test case that tests the client side priority sorting
feature.