API make the main socket non-static
API no longer ignore send() status
Merge pull request #399 from kanoi/bflsc

API Socket changes