change size_t to ssize_t to allow for returning negative error values

should have no effect on normal functioning of commotiond. just allows for better error handling.

<!---
@huboard:{"order":15.3125,"custom_state":""}
-->