[attach] Apply the rid/jid/sid to the connection's _proto
Merge pull request #21 from tagged/proto_attach

[attach] Apply the rid/jid/sid to the connection's _proto