In stateful firewall or NAT rules, what are two functions performed by an application-layer gateway? (Choose two.)
A.
Allows the router to perform NAT properly for an application.
B.
Allows the router to properly accept traffic for an application when using a stateful firewall without NAT.
C.
Allows the router to authenticate user credentials to determine whether to allow traffic to an application server.
D.
Allows the router to act as a proxy device for an application.