TCP: closing listening socket now works again. Fixed #150.
Fixed regressions introduced in last commit (unit tests)
Fixed bug in the TCP_IS_STATE macro. Fixed #150 (tested)
TCP Nagle: update options on assembled frame (fixed #151)
zalloc and free redirection for LPC18xx
Added missing call pico_socket_getname() (BSD Equiv: "getsockname")

- With public API declaration
- With unit tests
- With documentation
Reduced warnings in some porting
socket size altered for tinyos
Merge branch 'master' into picoMESH