Actions for client and included end_type in message
Commented client.c