added a configureable hostname, port and scheme keyword