LogDog: Properly emit Butler stream magic.

The LogDog Butler protocol was not properly implemented: it was missing
the magic byte sequence that must precede the exchange. Add that
sequence to the stream implementation.

BUG=chromium:628770
TEST=local
  - Ran with live Butler instance, observed successful stream
    negotiation.

Review-Url: https://codereview.chromium.org/2251413004
NOKEYCHECK=True
GitOrigin-RevId: 999aff1abdcaf37cfed37f7451ea0a2f54a7fdea
2 files changed
tree: 2e65bb923ea00337a60af45c2251894cc6e1a940
  1. tests/
  2. __init__.py
  3. bootstrap.py
  4. stream.py
  5. streamname.py
  6. varint.py