added checks for invalid routes
hardcoded netd index of daemonTable rather than socket 4
fixed misnamed variable
added route invalidation; closes #2