implement tcp interface for set,get,delete