Update: support stream & sockets
examples
Fixbug: timer core dump