A few performance improvements

Replaced awk with bash builtin. Replaced test ([]) with bash builtin ([[]]). Uses iptables to block connections rather than echoing to /etc/hosts