Simplify the PiServer file. Get rid of the useless handler definition and do not restrict path to /RPC2