Added handleInbound for btsync generation of this idea