Changed to JSON-RPC 2 spec..
Performance tuning
Refactoring