A sample implementation of an http check