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.