reliable packet and socket, not finished