net: add __sys_connect_file() helper