xson_stream_from_socket