TCP socket allocations

Hi.
I found that this method always dynamically allocates memory.

@allocated write(soc::TCPSocket, x)

How can I avoid this? Is there some StaticTCPSocket package?