use AVHTTP_DECL instead of directly use inline
define  AVHTTP_SEPARATE_COMPILATION

AVHTTP_SEPARATE_COMPILATION is currently not working,
use at your own risk