set evhttp_set_allowed_methods, and add headers for Cross-Origin