Restructured the method for pulling host and target from request. Now leverages Regex's