[client_socket] socket spec, improved process_data() tests