HTTP-RPC: Lots of fixes. Fileserving now works, yay.