fix(proxy) : Use hostname and port from the config