make interface_socket_setup static