Source parameter is stored in nn_fsm object rather than being specified every time anew

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
source parameter removed from nn_fsm_raiseto

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Event source objects are tagged with IDs

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
nn_fsm_action is used instead of calling handlers directly

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
NN_FSM_START_ and NN_FSM_STOP behave as normal actions

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
source parameter split into src and srcptr

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge branch 'aio2' of github.com:250bpm/nanomsg into aio2
Bug in nn_ep fixed.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>