Return HTTP headers even if there is no HTTP response body.

Also add a test to demonstrate that we've bug 7787.
http://code.google.com/p/android/issues/detail?id=7787

Change-Id: I4e320835516c05ec9e305661b5bbb1e59b278183
tree: ebd917e897c020792b4ed229a2754f5d542f1707
  1. src/
  2. Android.mk
  3. MODULE_LICENSE_BSD_LIKE
  4. VERSION