Added encoding of BEncoded values.