Ensure no concurrent access to NSMutableData

I'm pretty sure that this is a bug in Xamarin.iOS because we never write to the NSMutableData, but just for funsies, synchronize access to the underlying stream. Fixes #22, maybe.