adding some hand optimizations to write-to-evbuffer. tried a number of different methods of putting data into an evbuffer, but original way turns out to be the absolute fastest. not expected, but hey whatever works.