update request construction
parse host from uri if there is no host header