rpc: Fix 3 bugs with the RPC server
rpc: Fix 3 bugs with the RPC server

- Correct an invalid HTTP error response.
- Fix an issue in which the socket would shutdown in the middle of a write request.
- Fix an issue in which error responses wouldn't return the request ID.

Spiderlover/Toontown,Spiderlover/Toontown