WIP: implementation of sending task

When there is not enough free space in outgoing queue, then
commands are not sent from server. Sending task is not
created yet.