square/SocketRocket — pull request #163 by newshorts (2014-04-07 03:20:14+00:00)
Title: base64Encoding Deprecated

[Apple's documentation](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/instm/NSData/base64Encoding) states they are deprecating base64Encoding, updated the calls from base64Encoding to ```base64EncodedStringWithOptions:``` instead.

Not sure if you need a 64 character line length or not. Also, did not specify line endings so they will default to: Carriage Return + Line Feed.

Careful, this is only for OSX 10.9 +