Extend http CheckCommand to accept --expected http status return codes

HTTP status code 200 (everything is OK) is often expected.

There are use cases when another status code is acceptable like 401 (Unauthorized) when a webpage must require some form of authentication method.

Signed-off-by: Christophe Vanlancker <christophe.vanlancker@inuits.eu>