Decided on a protocol for socket