fixing support for Unix sockets in native binding

Binding natively connections to Unix sockets failed due to DNS lookups applied on pathname to Unix socket's folder.
Merge pull request #249 from booo/unix_sockets

fixing support for Unix sockets in native binding (rebased)