Upon connection
---------------
[*] Server sends    "WELCOME"
[ ] Client sends    "ACTIONS"
[ ] Server sends    "deploy 1.0, activate 1.0, invoke 1.0, relocate 1.0, ..."
[*] Client sends    "SPEAK <actionName> <actionVersion>"
[ ] Server sends    "SORRY" if invalid action

Deployment
----------

[*] Client sends    "SPEAK deploy 1.0"
[ ] Server sends    "SORRY" if invalid action

[*] Client sends    "START_SERVICEINFO"
[*] Client sends    "ServiceName <serviceName>"
[*] Client sends    "Content-Type <contentType>"
[*] Client sends    "Content-Lentgth <contentLength>"
[*] Client sends    "END_SERVICEINFO"
[*] Server replies  "SERVICEINFO_VALID" or "SERVICEINFO_INVALID <optional msg>"
	
[*] Client sends    "START_DEPLOYSERVICE"
[*] Client sends    <bytearray of length 'contentLength'>
[*] Client sends    "END_DEPLOYSERVICE"
[*] Server replies  "DEPLOYSERVICE_OK" or "DEPLOYSERVICE_FAILED <optional msg>"


Invocation
----------

[*] Client sends    "SPEAK invoke 1.0"
[ ] Server sends    "SORRY" if invalid action

[*] Client sends    "START_SERVICEINFO"
[*] Client sends    "ServiceName <serviceName>"
[ ] Client sends    "InstanceUUID <instanceUUID>"
[*] Client sends    "Content-Type <contentType>"
[*] Client sends    "Content-Lentgth <contentLength>"
[*] Client sends    "END_SERVICEINFO"
[*] Server replies  "SERVICEINFO_VALID" or "SERVICEINFO_INVALID <optional msg>"

[*] Client sends    "START_INVOKESERVICE"
[*] Client sends    <bytearray of length 'contentLength'>
[*] Client sends    "END_INVOKESERVICE"
[*] Server replies  "INVOKESERVICE_OK" or "INVOKESERVICE_FAILED <optional msg>"

[*] Server sends    "START_INKOKE_RESULT"
[*] Server sends    "Content-Type <contentType>"
[*] Server sends    "Content-Lentgth <contentLength>"
[*] Server sends    <bytearray of length 'contentLength'>
[*] Server sends    "END_INKOKE_RESULT"


Activation
----------

[*] Client sends    "SPEAK activate 1.0"
[ ] Server sends    "SORRY" if invalid action

[*] Client sends    "START_SERVICEINFO"
[*] Client sends    "ServiceName <serviceName>"
[*] Client sends    "InstanceUUID <instanceUUID>"
[*] Client sends    "Content-Type <contentType>"
[*] Client sends    "Content-Lentgth <contentLength>"
[*] Client sends    "END_SERVICEINFO"
[*] Server replies  "SERVICEINFO_VALID" or "SERVICEINFO_INVALID <optional msg>"

[*] Client sends    "START_ACTIVATESERVICE"
[*] Client sends    <bytearray of length 'contentLength'>
[*] Client sends    "END_ACTIVATESERVICE"
[*] Server replies  "ACTIVATESERVICE_OK" or "ACTIVATESERVICE_FAILED <optional msg>"

[*] Server sends    "START_ACTIVATION_RESULT"
[*] Server sends    "Content-Type <contentType>"
[*] Server sends    "Content-Lentgth <contentLength>"
[*] Server sends    <bytearray of length 'contentLength'>
[*] Server sends    "END_ACTIVATION_RESULT"

ConnectToService
----------------

[*] Client sends    "SPEAK connect 1.0"
[ ] Server sends    "SORRY" if invalid action

[*] Client sends    "START_SERVICEINFO"
[*] Client sends    "ServiceName <serviceName>"
[*] Client sends    "InstanceUUID <instanceUUID>"
[*] Client sends    "END_SERVICEINFO"

Control
-------

[*] Client sends    "SPEAK control 1.0"
[ ] Server sends    "SORRY" if invalid action

[*] Client sends    "START_CONTROL_INFO"
[*] Client sends    "ActionName <actionName>"
[*] Client sends    [action dependent parameters]
[*] Client sends    "END_CONTROL_INFO"
[*] Server replies  "CONTROL_ACTION_FAILED <optional_msg>"

[ ] Server sends    "START_CONTROL_RESULT"
[ ] Server sends    "Content-Type <contentType>"
[ ] Server sends    "Content-Lentgth <contentLength>"
[ ] Server sends    <bytearray of length 'contentLength'>
[ ] Server sends    "END_CONTROL_RESULT" 

