Added checks for TCP, HTTP and HTTPS