added a sample which shows how to get the remote IP Address inside a middleware