fix endpoint handling on server receive
better handling for server send
update notes