Changed server=>client protocol, documented basic protocol