Fixes an issue where data was double-wrapped when using SocketAdapter
(.ajax method uses 'options' hash, not raw data)