add a distrinction between listening trans and accepted children in trans->server with MSK_SERVER_CHILD (-1), check that data->mr is not null before dereferencing it, rename some old pdata to data to follow convention of pdata being msk_data_t **
fix tests (build with "make check") to comply with new API