httpserver: Accept only TLSv1.2

SSLv3 is prone to a POODLE [1] attach, so we should not accept this
method.

[1] http://googleonlinesecurity.blogspot.fr/2014/10/this-poodle-bites-exploiting-ssl-30.html

Reviewed-by: Nadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
httpserver: tests: ensure that SSLv3 is rejected

Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
libc/time: Return GMT instead of NULL for tm_zone

Fixes Node.js which doesn't check the tm_zone member for NULL.

Reviewed-by: Nadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: David Halls <dahalls@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
epoll: Fix trace_epoll_ctl

event can be NULL.

Signed-off-by: Asias He <asias@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Http Server: Add firmware provider API

This expose the firmware provider API.
After the patch it would be possible to call:
http://localhost:8000/hardware/firmware/vendor
to get the vendor name.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Http Server: Expose the hypervisor type

This expose the hypervisor type. After this path it would be possible to call:
http://localhost:8000/hardware/hypervisor
And get the hypervisor name.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
libc: sys_errlist and sys_nerr symbols

Add sys_errlist and sys_nerr symbols to OSv. They're deprecated but
apparently there are still applications around that use them.

Reviewed-by: Nadav Har'El <nyh@cloudius-systems.com>
Cc: Sergei Turukin <sergei.turukin@rackspace.com>
Cc: Constantine Peresypkin <pconstantine@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>