Basic stream and connection adaptors for the generic connection framework.