Fixed "Maximum function nesting level of '100' reached, aborting!"
Make outputbuffering part of the RpcProtocol so we can handle it properly