added setremoteaddr