Fixed bug where 'to' cannot be required (inbound messages will puke)

This commit took 2 hours of debugging.