Bugfix: segfault if upstream keepalive enabled

Github issue #11:
Latest SEnginx master causes 'segfault's - but older SEnginx V1.5.13 is
fine

Solution:
modify keepalive module to adapt dynamic resolve

Signed-off-by: paulyang <paulyang.inf@gmail.com>