Merge branch 'dev'
Merged with upstream.
Fixes related to networking.
NSOperation: does not leak memory in case of exception; NSOperationQueue: calls [NSOperation start] instead of [NSOperation main]