Added host not found exception
Fixed bugs after merge, commented atoi in start