River police officer faced a judge in Boston Friday after allegedly attempting to arrange and pay for sex with a child.