1. A method for optimized message processing, the method comprising: receiving a message including header information; determining, using the header information, whether a fast-path identification rule exists for identifying the message; and in response to determining that the fast-path identification rule does not exist: identifying the message using slow-path processing, determining the fast-path identification rule using the slow-path processing, and storing the fast-path identification rule in a memory.