remove jsonrpclib and support python3