Connlimit ported and covered by tests