HttpCompiler simplifyed, unittests added.