Stop interference between instances.

Use two sockets per instance: server for listening
and client for sending.

Change-Id: Ifdc4454f5f673aae92c0a336be11c4e5836492df