Within-host model of infection under antiviral treatment