refractor sparkngin to use the protocol connector, support POST, GET, add client for json and java binary object