Add support for network socket connections