# Functions
GetClientAddr returns the first value in X-Forwarded-For if it exists otherwise fall back to use RemoteAddr.
GetWithUserAgent performs an HTTP GET with the proper Clair User-Agent.
Status2xx returns true if the response's status code is success (2xx).