More expansive check for text/html acceptance
Add time functions