refactored tcp and udp connections into seperate files

Ignore-this: dafb8049263ed2636bfce6d4c6d4fe0f

Also started adding ACK for UDP connections.

darcs-hash:20131104195331-c21fe-b86bda07fa64252563882da09f73ee67e230620a
changed internal port from string

Ignore-this: 312176f795b578b890eaa6d23ff0510b

Isn't it silly to store port as string? I think so...

darcs-hash:20131106144917-c21fe-55f15f9a953e4420e0246fcc09cd927e2b357e24
added ability to resend packets that were not acked

Ignore-this: 52b9ec689f7f2ed5f5396be3eea50989

I added ability to resend packets in a message that was not acked by a peer.
packets are resent after 5 seconds automatically. Unfortunately the order of messages
is not gaurenteed yet for UDP connections..

darcs-hash:20131106175950-c21fe-9beaa74dc1f30acc92e63826dd2a9a1abc1ee970
fixed a rookie mistake

Ignore-this: b1633119642ae380c1569cade95f1ab0

my decode big endian functions were broken. how embarrassing!

darcs-hash:20131106180226-c21fe-da184ebef4f0f38da31cfb06530442b97ccf1be8
removed disconnect message from session

Ignore-this: e277aa0cf03306c7bb7b50c67738365d

The UI now does not announce when a user disconnects in a session tab. Because we now
have auto reconnect, you can leave a session tab open for days and still successfully reconnect
to a peer and have the session applications communication restored. Since the user
turns red when they disconnect and since it is already announced in the alert tab, I
thought this message was silly.

The message when a user explicitly quits a session is still there.

darcs-hash:20131106180353-c21fe-e45af2bad872afa645362339de43919879b8789f
Merge branch 'master' into moc_parse