move sender message from client to messageSender

Change-Id: If6d836acfa45bf8dc9976ac64ae9b195a1ca595a