Improved networking again, by merging MessageHandler with
MessageCodec (One map lookup, instead of Two, and less memory usage).
Added OnPluginUnload(), that is called before the plugin is going to be
unloaded.

Signed-off-by: Wolftein <agustin.l.alvarez@hotmail.com>