Fixes #105 and fixes #198. GCDAsyncSocket: fixed float-to-int conversions and comparison
between signed and unsigned values warnings.