Refactors AMQPWriter -> frame_writer