initial support for authenticated RPC calls
example code for use with BTCE.pm