* core: rpc: revamp rpc server and add new commands * core: Move GDB packet handling to the frame limiter as well. * core: gdb: Improve packet handling