Add a new evbuffer_write_atmost() functino to write no more than a given number of bytes to an fd. svn:r993