improved communication performance between client and server (buffered), removed warnings