Implemented incrementation of node_id

+ getting rid of int64 -> int cast warning.
Client Socket Monitor implementation