added client handler for receiving packet