First swings at a tcp connect monitor
Refactor Makefile to be less repetitive