Added BEncode writer. unique_ptr changed to raw_ptr in BEncodeParser class.