added sendFinal

when the TCP buffer was full the failure of sending the last/zero chunk
wasn't handled, this is now moved to a seperate function that will be
retried by the callback when there is place in the buffer
Added to option to send static data without allocating a buffer