A drug that turbocharges the immune system to fight off infections from viruses such as the flu is being developed by scientists.