Used the wrong strencode and fixed the configuration option always being forced to null.(Thus this extension would never work.)