ETag CC: host, port and protocol options now can be specified from module; little fixes in DB query