Fix up the way assign_to works

Fixes https://github.com/SIPp/sipp/issues/53 and https://github.com/SIPp/sipp/issues/52.