Added psuedocode to lsp_server_write

If the client has been disconnected, then we should return false when
lsp_server_write is called so that the user of the API can respond
appropriately.