Added support for using Linux sockets