Fixes error in storing body before being passed to the application framework.

* Routed function call now occurs *after* the full message is recieved.