fix stream filter and ssl init bug