Backport Fix for Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().

Patch by Nikolaus Rath.
Document changes to OS X installer configurations for 2.7.7.
As of 2.7.8, the 32-bit-only installer will support OS X 10.5
and later systems as is currently done for Python 3.x installers.

For 2.7.7 only, we will provide three installers:
the legacy deprecated 10.3+ 32-bit-only format;
the newer 10.5+ 32-bit-only format;
and the unchanged 10.6+ 64-/32-bit format.

Although binary installers will no longer be available from
python.org as of 2.7.8, it will still be possible to build from
source on 10.3.9 and 10.4 systems if necessary.
reindent for consistency
support pep 3118 format strings for ctypes objects with nontrivial shapes (closes #10744)

Patch from Matti Picus.
some platforms apparently don't care about fdopen'ing with a different mode
just skip this test on Solaris
'sunos' not 'solaris
update pydoc_topics
bump to 2.7.7rc1
Added tag v2.7.7rc1 for changeset e32e3a9f3902
Don't grow strings by concatenation.  Use ''.join() instead.
include test data in the windows installer, so tests don't fail (closes #19866)
merge 2.7.7 release branch
Issue #21477: idle htests - lower case function names, other cleanups.