Adds function to retrieve `REQUEST_METHOD`
Adds functions to check for HTTP/HTTPS & makes `isCLI` public