Auto fill capture host if none exists because of CORS issues

Signed-off-by: Ozan Turgut <ozanturgut@gmail.com>