[beeswax] Make Thrift port easier to pick according to the type of interface used