added server mode.. added individual cxn handling