Client host address was tied to localhost, now selected based on ENABLE_TEST_MODE constant.
Simplified stream structure and packing/unpacking method. Now stream token also used in stream hmac generation. Stream checksum is not stored and is generated on the fly when required.