Consistently use 'void *' for SSL read, peek and write functions.