fixes #55
gets rid of fancy PHP closure stuff in exchange for backwards compatibility
reverts to POST
Merge pull request #56 from clef/fix-xmlrpc

Fixes XML RPC issue