Pubnub on Unity WebGL

We need to implement an https messaging service to use in mobile and WebGL exports.

As our product already has an older implementation and a server running, we wish to keep the current Pubnub as a service.

However its possible Pubnub is currently not supporting the WebGL due to possible usage of threads and other plugin features which are not yet supported by it.

My question is: can I work around the pubnub issues fairly easy (without getting into a long development cycle just for this service. More then 3 days would be long)? Is it supposed to support WebGL?

If Pubnub is off the table does anyone know of a good robust alternative which will support https on iOS+Android+WebGL (+ later Windows and Blackberry)?

Thanks!

Failed running /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe -out "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed" -l none -c link -x "/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/native_link.xml" -f "/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/LinkerDescriptors" -x "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml" -d "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed" -a  "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" -a  "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" -a  "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed/Pathfinding.JsonFx.dll" -a  "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed/System.Threading.dll" -a  "/Users/guytidhar/Documents/Development/Unity/PubnubUnity/Temp/StagingArea/Data/Managed/SampleClassLibrary.dll"

stdout:
Fatal error in Mono CIL Linker
System.Exception: Error processing method: 'System.Void System.Threading.ThreadLocal`1::.ctor()' in assembly: 'System.Threading.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Security.PermissionSet::RevertAssert()
  at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00000] in <filename unknown>:0 
  at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x00000] in <filename unknown>:0 
  at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00000] in <filename unknown>:0 
  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0 
  at Mono.Linker.Steps.MarkStep.Process () [0x00000] in <filename unknown>:0 
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 
  at Mono.Linker.Driver.Run () [0x00000] in <filename unknown>:0 
  at Mono.Linker.Driver.RunDriver (Mono.Linker.Driver driver) [0x00000] in <filename unknown>:0

This is now supported in PubNub for Unity 5. http://github.com/pubnub/c-sharp/tree/pt87102862/unity5