misc: (xidna_to_ascii) new function.
Resolver: use xidna_to_ascii function
http: send punycoded host in the Host: header
buffer: release the down buffer in the stack in PrepareToDie.

It fixes a segfault with ftps when objects are deleted in wrong order.