add head action server

from #41 (Repair from master branch to development)
If we go that route in the future, we should also discuss making the default value the value of settings.HEAD_PAN_ANGLE_TOLERANCE.