Added travis ci. Fixed 404 return code on bad IP.