Core: new recycle feature to handle KeepAlive request

In order to provide a constant performance and protect memory
consumption, a new recycle feature have been added. Every time the
connection is under a KeepAlive connection, it recycle the memory
used to handle the main data structure for the internal work of the
web service.

Signed-off-by: Eduardo Silva <edsiper@gmail.com>