Properly initialize phalcon-kernel on SAPI startup