Removed an iOS7 Deprecated function

Minor code change to avoid using CFReadStreamCopyProperty and also fail if an error occurs
Merge pull request #58 from mostafaberg/patch-1

Removed an iOS7 Deprecated function