Creating a server using the http library