Squashed commit of the following:

commit 5bf6e0460d657c167aeb3dfdcff61224b1315eb0
Merge: 1c78373 dfaed07
Author: Albert Chen <albert@jomi.com>
Date:   Sun Nov 30 19:28:38 2014 -0500

    Merge branch 'master' into net

    Conflicts:
    	roquefort.hxproj
    	source/Main.hx
    	source/MenuState.hx
    	source/Reg.hx

commit 1c783739309a9ca465bd541f1dfd75216e772da8
Author: Albert Chen <albert@jomi.com>
Date:   Sun Nov 30 19:10:39 2014 -0500

    remove serverstate

commit e6ff5ec4d9458a0278e3ea03167143df074ce568
Author: Albert Chen <albert@jomi.com>
Date:   Wed Nov 26 18:08:25 2014 -0500

    added separate server and client states:
    '

commit ba262604b7b8bc40f6c696b00c875ffa5383d844
Author: Albert Chen <albert@jomi.com>
Date:   Wed Nov 26 18:07:52 2014 -0500

    removing local networking libs

commit 2b17f7c6d90dc2fd8009bcc1f48f38fc8d8970fd
Author: Albert Chen <albert@jomi.com>
Date:   Wed Nov 26 18:07:09 2014 -0500

    updated dependencies

commit 71d69444ee2da4b0431c6877ef2f169c1a48b409
Author: Albert Chen <albert@jomi.com>
Date:   Wed Nov 26 15:45:10 2014 -0500

    update for new version of nethaxe

commit 0191c23685ced382fae3440547b116fb58f45a6b
Author: Albert Chen <albert@jomi.com>
Date:   Tue Oct 28 06:45:06 2014 -0400

    updated dependencies

commit 781f3c94758c8de46320bc1df1b076a4e14b568f
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 03:20:24 2014 -0400

    clean up

commit 4baa15d6cf291ee6d24e9dfa0c31ded86f7141ce
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 03:07:31 2014 -0400

    client and server status functions

commit f636bec480a15900fcf43aa1035ca1f299ea2dd1
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 02:53:37 2014 -0400

    initing NET

commit cccb5d59e766e684bd1ad047c9215482a8c46783
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 02:41:02 2014 -0400

    server active destruction detection

commit 76e0787c00718ae8339d83b3b4bbc875e43a55eb
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 02:35:54 2014 -0400

    client failure detection

commit 85360b8acdc759b410a58e1b7f54f68d60711b97
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 02:32:56 2014 -0400

    better failure detection in Server.hx

commit 9dcdabd18e6256bd20b85792fd733416cb759feb
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 02:27:10 2014 -0400

    added detection for server failure

commit 03f171b140de73d9a82c4601d763a103643aad4c
Author: Albert Chen <albert@jomi.com>
Date:   Mon Oct 20 01:56:20 2014 -0400

    added dconsole

commit ac74f4ab190c882562b3160894d3064ea51958df
Author: Albert Chen <albert@jomi.com>
Date:   Tue Oct 14 12:34:33 2014 -0400

    added dconsole

commit a55bd9bc43559b992f608283d08ecfa6dd31c680
Author: Albert Chen <albert@jomi.com>
Date:   Wed Oct 8 11:58:11 2014 -0400

    moved server code into respective class. +implemented

commit 0a500a30cc4c5996217a053354908a0f96212e58
Author: Albert Chen <albert@jomi.com>
Date:   Wed Oct 8 11:43:52 2014 -0400

    moved client code into respective class. also integrated

commit 105fd7f2fe7aa42d1d64ea810f4832a21efff0ec
Author: Albert Chen <albert@jomi.com>
Date:   Wed Oct 8 11:18:14 2014 -0400

    added net constants

commit 7d3b601a5731eac6c94bc8ba34553305249b7a48
Author: Albert Chen <albert@jomi.com>
Date:   Tue Oct 7 11:31:35 2014 -0400

    accepting multiple clients

commit ac3378a111771f7ca363a6e86c842a30bd4871b9
Author: Albert Chen <albert@jomi.com>
Date:   Tue Oct 7 11:07:13 2014 -0400

    closing sockets after finish message is sent

commit 2f9d6f189d8b49c96e1304ce5ed631f1694a2f4e
Author: Albert Chen <albert@jomi.com>
Date:   Tue Oct 7 11:04:11 2014 -0400

    thread message for reading multiple kinds of messages

commit 97467e2427d3a987815830694aecf0574c1cd5ea
Author: Albert Chen <albert@jomi.com>
Date:   Fri Oct 3 12:34:32 2014 -0400

    first time in a long time

commit f6f42262b40998e0834cacf74b17063f70b1004c
Author: Albert Chen <albert@jomi.com>
Date:   Sat Jul 19 16:42:11 2014 -0400

    almost