make StreamSessionConnector a static inner class