server: don't forget to send last fragment