Use SHA1 from LuaCrypto, if available

lua-websockets is used on embedded systems where OpenSSL (the library
LuaCrypto is based on) cannot be installed.

Close issue #38.
Merge branch 'pr6'

Conflicts:
	README.md
	src/websocket/tools.lua