detect IP address
dirty hack to use request object inside of function with Manager.call()
change structure, add lockable service state