Quick and dirty PHP script that lets you acquire and release a "lock" through HTTP with jsonp.