Let y=y(x) be a solution curve of the differential equation (y+1)tan2x dx+tanx dy+ydx=0, x ∈(0,π2). If lim x→0+xy(x)=1, then the value of y(π4) is