Adding UDP writing support