Moved the http module into a plugin.

Some improvements to the serializer plugin and the http plugin as well.