host configuration may now contain port, API cleanup