merge a lot of mess information and add  examples and sockjs

well. i am not good at git. i just merge all the change to one. 
let me know if i have make some wrong. thanks again...