netsocket_is_connected() added