Allocates bufferevent structure

solves the structure problem using a proper component, in the
previous state the stack stops to work properly
when a user leaves the room.