[PATCH 2/5] ConnectionHandler: adjust send and recv functions