added check to title request for text/html. added support for multiple servers