shift message handling into separate function
shift message handling into separate function

Signed-off-by: David Woodhouse <b460d66aaf00c296a3db1c1d9eeafc081d5f7d70@intel.com>

mdutton3/OpenConnect,certik/openconnect,nmav/openconnect-mine,chadcatlett/openconnect,cernekee/openconnect,atyndall/openconnect,neshema/openconnect,chadcatlett/openconnect,matlockx/openconnect,brandt/openconnect,ldx/android_external_openconnect,don-johnny/openconnect,sihde/openconnect,atyndall/openconnect,brandt/openconnect,chadcatlett/openconnect,mdutton3/OpenConnect,mdutton3/OpenConnect,sihde/openconnect,chadcatlett/openconnect,liiir1985/openconnect,mveplus/openconnect-client,mtmiller/openconnect,nmav/openconnect-mine,ldx/android_external_openconnect,cernekee/openconnect,neshema/openconnect,brandt/openconnect,nmav/openconnect-mine,brandt/openconnect,don-johnny/openconnect,matlockx/openconnect,liiir1985/openconnect,mtmiller/openconnect,certik/openconnect,cernekee/openconnect,liiir1985/openconnect,lins05/openconnect,lins05/openconnect,mtmiller/openconnect,liiir1985/openconnect,don-johnny/openconnect,neshema/openconnect,neshema/openconnect,matlockx/openconnect,lins05/openconnect,cernekee/openconnect,don-johnny/openconnect,mveplus/openconnect-client,certik/openconnect,matlockx/openconnect,lins05/openconnect,mveplus/openconnect-client,nmav/openconnect-mine,atyndall/openconnect,sihde/openconnect,mveplus/openconnect-client,pbrook/openconnect,pbrook/openconnect,mtmiller/openconnect,atyndall/openconnect