Fixed case when stream port is zero

I found that if stream_port is set to zero on motion, this app would crash with a "port <=0" Java exception.