netconn_alloc() function
Create a new netconn (of a specific type) that has a callback function. The corresponding pcb is NOT created!
Arguments
t
the type of 'connection' to create (@see enum netconn_type)
callback
a function to call on status changes (RX available, TX'ed)
Return value
a newly allocated struct netconn or NULL on memory error