Remove \r\n from hook_client