Detect real ip behind proxy by using X-Forwarded-For header. Closes #189