updated server protocol. CLIENT AND SERVER MUST BOTH UPDATE TO WORK.  only slightly tested