a9d17882e7
This allows the use of port 0, which is interpretted automatically to mean "random port". Additional logging consistency fixes.