Added rmi and socket examples (not working!)