updated osc_doRequest

updated osc_doRequest to return number of bytes sent or false on error
missing curly braces in issue #1389
Merge pull request #1446 from conejoninja/f1389

F1389