Implemented the ability to detect client IP on the server side.