add resolve to server inside the loop (for dynamic ip servers)

doesnt work in ftps mode, it hangs after IDNT send
no idea how to fix except i found out that if you put slow
delay after the write then its works

the problem is caused by ftpd, it uses buffer for reading from the socket
... after the idnt command it also buffers part of the ssl HELLO code..
ill try to fix it later (maybe ill need to patch glftpd code, but thats
not a problem)
