hget: implement all RFC 2616 error codes
hget: implement additional error codes from RFC 6585