Clean up the server script.
Create StatusChecker to wrap Net::HTTP.

And also to wrap references to specific exception classes.
Add :checking_interval to config.