Initialize tohost and fromhost to zero

Surprising we got away without doing this for so long