Fixed UDP/unix socket conflict and server reference in client