looks like rest client has some problem with xml, so use savon
complete crypto operations
add cip methods