Implements method to return next piece to send

Also remove code about threads.
Adicionando função para envio de File Descriptor

Adicionado a função para envio do File Descriptor(FD).

Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Merge branch 'master' into file
...