Reverted to is_server variable for fork_proc and restructured rsa_encrypt/decrypt in preparation for rsa_packet_send/recv