There are several places in the source code where HTTP response
codes are used as numeric values.
All of the used status codes are replaced with symbolic constants
from six.moves.http_client to improve code readibility.
Closes-Bug: #1520159
Change-Id: Ic5e439fb1f33962979536fe1ac5e5320e2c50c40