apps: startTime/stopTime fixes

- apps start sending at startTime, and sending last packet before stopTime
- negative stopTime means forever
- if startTime and stopTime are same, app send one packet (except TCP apps)