fetchtitle: use HTMLParser to find charset and title
fetchtitle: add a note about a test link
fetchtitle: only cancel timeout when exception happens

This is a bug introduced by commit e3f433a6c511c49007d