Add check for presence of parsebody function

This makes Sailor run in Apache mod_lua 2.4.2 or lower