server: fix plain support

fix #76
1.4.4