Extract connection streams into `lib/server/adapters`.