Added Some Buffer Flushes

Flushing the socket buffer.