only allow connections from localhost on the line-based protocol