An annual injection to prevent HIV infection is closer to becoming reality after the first stage of a drug trial showed promising results.