Got rid of explicit zero values and empty byte slices.

nil works fine in place of []byte{} most of the time.
Use &bytes.Buffer{} instead of bytes.NewBuffer([]byte{})