Added the parsed hostipal request code for impl