Add server thread to accept a connection between two devices.
Add a client thread.