Setting up the Extensioble Socket Connector Assertion: After installing the "Extensible Socket Connector" Tactical Assertion (it is described fairly well in the documentation that comes with it). We then setup the policy as follows :
We manage our Socket Connections (new menu item with this assertion) :
<Please see attached file for image>

And create an inbound assertion called :LFSocket". Under the general settings tab we set it as an Inbound socket, and the Data Protocol being a terminated message :
<Please see attached file for image>

Under the Inbound settings tab we indicate which socket to listen on 8888, and which policy will be triggered to handle the request.
<Please see attached file for image>

On the Protocol Settings tab, we indicate that 0a (lf) is the message terminator character to be used :
<Please see attached file for image>

We then create the following policy which is triggered for any message arriving on port 8888.
In the policy we are just doing simple things, logging the ${request.mainpart}. Validating the Content-Type (which is the step we need to add), and then returning a template response.
<Please see attached file for image>
