Add change url support

For POST and PUT requests content is now sent as JSON, as suggested by BrowserStack team.

The method name and signature could be improved, this is the best I could come up with.
Please update to match the format for other optional fields.