fix sample server
add socket.io connection test  #