A couple of fixes to nginx_refactoring branch

First one is intended to fix segfault caused by undefined http context in nginx configuration.
Second one eliminates a warning (which is treated as error by default in nginx) caused by invalid initialization.