socket_pdu: fixed resolver issue by applying same resolver as in udp_sink

Basically a version of http://gnuradio.org/redmine/issues/613 reported
by Alex Weihkopf in socket_pdu.
Patch is the same.