Returs NGX_* error codes that were lost in refactoring

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>