Check return on sock:bind before returning.