Add hash function for peer_id.
Implement stream attachment state setup when attaching.
Apply some dirty tricks to make stream_host_state build.
Change stream_peer constructor arguments.
Add friend access to constructors.
Turn constant into constexpr.