Update Client.java

Modified to receive heartbeat from message server every second.