BUM-2672: modified SDK to allow for a configurable hostname

This pull request contains changes to the PHP SDK required for enabling a configurable host name.