Fixed the problem of connecting through has while using a server. Also RestClient is logging a requests including server URI