Add error handling to HTTPServer startup