remove request handling from stream. needs cleanup.