add some method:
getIp(); to get IP by name
httpCommand(); to generate a http commandX