Test for both s and slice in URL.  Also added support for command line arguments to set IP and port.