add OPTIONS command to support mega upload