Change getUrl() method to use HTTP Request Defaults config settings

Those changes will apply HTTP Request Defaults jmeter config element settings to Rest Sampler when running. Original idea was taken from parent HTTPSamplerBase class.

Using HTTP Request Defaults config element helps to define server, http protocol, port and path variables in one place for same project. So the only thing is need to be specified in Rest Sample is a REST resource.