index: syntax
client: fix style
lib: fix style
socket: fix style