Added CHHTTPConnection to make it support iOS 6

1.Added CHHTTPConnection to make it support iOS 6, actually it even
support iOS 5 or below;
2.Added code to check if target is a real device, if so, write
operation will becomes synchronized, otherwise memory pressure will
cause crash.