updated accept header
added host if not specified by server