start to support json
test socket