Add streaming and cookies for oauth authentication
Latest working copy from server (loses streaming temporarily)