Added wav decoding mode
Added suid wrapper for calls from php running as _www