A soldier has been dubbed the luckiest man in the Army after a bullet went through his helmet but missed his head.