Feature/support unix domain socket

Unix sockets are also used for http, however, the current socket adapter just supports tcp/ip sockets. Related to PR #6624.
Can be reduced to a single `case`