Fixes httpserver instantiation.