test: Mock server listen on 0.0.0.0
client: Fix hostname format.