ALII-4700 Tighten up the error checkout of input parameters in lwip_cyassl

Signed-off-by: Mike Stitt <mikes@spindance.com>
Merge pull request #5 from spindance/bug/4700

ALII-4700 Tighten up the error checkout of input parameters in lwip_cyassl