[BUG #7246] use current hostname for JSONP request