adding custom HTMLParser implementation
dropping deprecated strict param to HTMLParser cstor
bf - converting response bytes to string
using constants for http status code checks