Basic code for a connection warning (#54)

This is untested and is quite likely doesn't work, please test and
improve on this.