fix bug that when time is zero, writeTime doesn't set to the msgs (#89)
fix bug that when time is zero, writeTime doesn't set to the msgs (#89)

* fix bug that when time is zero, writeTime doesn't set to the msgs

* conn.go:merge two loops in WriteMessages function

segmentio/kafka-go