final modifications to RequestToServer class