daemon: avoid excessive getsockname() syscalls
Calling this on every incoming UDP request could cost us up to 5% time.
Implementation is not so nice because right now "session" = socket, and we share sockets = sessions for UDP.
In future we will clean this by refactoring session layer.
Edited by Petr Špaček