Update the teacher client to accept sockjs_port and rest_port