server and client fixes for shm formats
server: message format fixes