GetConnLimit returns the connection limit, for inbound or outbound connections.
int getConnLimit(Direction direction);