support plain protocol