Add get_all to compatibility function

This is used in python 3 rather that the getheaders function that we
already stub out.

Change-Id: Ie147214a49fc744dd2ff1fc958c60547874d05d9
Closes-Bug: #1361527
Merge "Add get_all to compatibility function"