Initial checkin, basic protocol handshake

First functional library with some flaws (no session multiplexing, no
retransmissions, no contiki-os support)