Allow parallel testing (e.g., under 'detox').

Use PID-dependent port / socket for functest servers.