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.
All keys are required unless noted, please remove the explicit message.