http: Add encoding/decoding flags to the AVOptions