In stream auto connection

This implements #257 and #86.