Added ATCP support

- patches from http://mikeride.chaosnet.org/abelinc/scripts/index.html