Added support for cross domain connection
Added support for sending querystring on connection